#pragma once
#include "collision.h"
#include <cstdlib>
#include <ctime>

class Food {
public:
    Food(int screenWidth, int screenHeight, int gridSize);
    void respawn();
    const RectangleCollisionBox& getCollisionBox() const;

private:
    RectangleCollisionBox collisionBox;
    int screenWidth;
    int screenHeight;
    int gridSize;
}; 
